package com.offcn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.offcn.pojo.Role;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author offcn
 * @since 2022-08-29
 */
public interface RoleMapper extends BaseMapper<Role> {



    //根据用户id查询用户相关角色信息
    List<Role> getRoleInfoByUid(Integer uid);
}
